<template>
    <div id="basicLayout">
      <a-layout style="min-height: 100vh">
        <a-layout-header  class="header"><GlobalHeader class="Header"/></a-layout-header>
        <a-layout>
          <GlobalSider class="sider"/>
          <a-layout-content class="content"><router-view/></a-layout-content>
        </a-layout>
        <a-layout-footer class="footer">Footer</a-layout-footer>
      </a-layout>
      <a-layout-footer class="footer">
       <a href="https://github.com/ant-design/ant-design-vue" target="_blank">Ant Design Vue</a>
      </a-layout-footer>

    </div>
  </template>

  <script setup lang="ts">
import GlobalHeader from "@/components/GlobalHeader.vue";
import GlobalSider from '@/components/GlobalSider.vue'
  </script>

  <style scoped>

  #basicLayout .header{
    padding-inline: 20px;
    margin-bottom: 1px;
    color:unset;
    background: white;
  }

  #basicLayout .sider{
    background: #fff;
    border-right: 0.5px solid #efefef;
  }

  #basicLayout .content{
    background: linear-gradient(to right,#fefefe,#fff);
    margin-bottom: 28px;
    padding: 16px;
  }

  #basicLayout .footer {
  background: #efefef;
  padding: 16px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}

  </style>
